﻿/*
 * Producer - Consumer Queue
 *
 * Multi wait  at the same time will receive the same result
 *
 */

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;

namespace Snowdreamist.Collection.ProducerConsumer
{
    public class MultiSynchronousWaitProConQueue<T> : ProConQueue<T>
    {
        public override bool Wait(out T value)
        {
            throw new NotImplementedException();
        }

        public override bool Wait(TimeSpan time, out T value)
        {
            throw new NotImplementedException();
        }

        public override bool Wait(CancellationToken cancellationToken, out T value)
        {
            throw new NotImplementedException();
        }

        public override bool Wait(TimeSpan time, CancellationToken cancellateToken, out T value)
        {
            throw new NotImplementedException();
        }

        #region private

        private readonly Barrier _barrier = new Barrier(0);

        private bool _isWaitSucceed = false;

        private T _currentValue;

        #endregion private
    }
}